package top.yangbuyi.dto;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.extern.slf4j.Slf4j;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @description: 杨不易网站:www.yangbuyi.top
 * @program: yangbuyiopenHis2020
 * @ClassName: LoginBodyDto
 * @create: 2020-08-27 20:26
 * @author: yangbuyi
 * @since： JDK1.8
 * @LoginBodyDto: 登陆的数据输出对象$
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class LoginBodyDto implements Serializable {

	  /**
	   * 用户名
	   */
	  @NotNull(message = "用户名不能为空")
	  private String username;
	  /**
	   * 密码
	   */
	  @NotNull(message = "密码不能为空")
	  private String password;
	  /**
	   * 验证码
	   */
	  private String code;


}
